Documentation for class text_field

Inherits from 	control 

Properties declared in text_field 
	background_color 
	font 
	is_background_transparent 
	is_bezeled 
	is_bordered 
	is_editable 
	is_scrollable 
	is_selectable 
	next_text 
	previous_text 
	text_alignment 
	text_color 
	value 

Class Methods declared in text_field 
	new 

Methods declared in text_field 
	action 
		select_text 
		take_boolean_value_from(object) 
		take_float_value_from(object) 
		take_integer_value_from(object) 
		take_number_value_from(object) 
		take_string_value_from(object) 
	any 
		background_color 
		boolean_value 
		float_value 
		font 
		integer_value 
		is_background_transparent 
		is_bezeled 
		is_bordered 
		is_editable 
		is_scrollable 
		is_selectable 
		next_text 
		number_value 
		previous_text 
		select_text 
		set_background_color(color) 
		set_font(font) 
		set_is_background_transparent(boolean) 
		set_is_bezeled(boolean) 
		set_is_bordered(boolean) 
		set_is_editable(boolean) 
		set_is_scrollable(boolean) 
		set_is_selectable(boolean) 
		set_next_text(object) 
		set_previous_text(object) 
		set_text_alignment(symbol) 
		set_text_color(color) 
		set_value(string) 
		string_value 
		take_boolean_value_from(object) 
		take_float_value_from(object) 
		take_integer_value_from(object) 
		take_number_value_from(object) 
		take_string_value_from(object) 
		text_alignment 
		text_color 
		text_did_change 
		value 
	events 
		text_did_change 
	get 
		background_color 
		font 
		is_background_transparent 
		is_bezeled 
		is_bordered 
		is_editable 
		is_scrollable 
		is_selectable 
		next_text 
		previous_text 
		text_alignment 
		text_color 
	set 
		set_background_color(color) 
		set_font(font) 
		set_is_background_transparent(boolean) 
		set_is_bezeled(boolean) 
		set_is_bordered(boolean) 
		set_is_editable(boolean) 
		set_is_scrollable(boolean) 
		set_is_selectable(boolean) 
		set_next_text(object) 
		set_previous_text(object) 
		set_text_alignment(symbol) 
		set_text_color(color) 

Class 
#begin_class
text_field 
The class text_field is a subclass of the class control.
#end_class

Properties 

#begin_property
background_color 
Stores the color object for the background color of the text-field.
#end_property

#begin_property
font 
Stores the font object that specifies the font and fontsize of the text in the text-field.
#end_property

#begin_property
is_background_transparent 
Stores a boolean value. If it is true the background of the text-field is transparent.
#end_property

#begin_property
is_bezeled 
Stores a boolean value. If the value is true, the text-field will have a bezeled border. 
#end_property

#begin_property
is_bordered 
Stores a boolean value. If the value is true, the text-field will have a one-pixel black frame. 
#end_property

#begin_property
is_editable 
Stores a boolean value. If it is true the text of the text-field may be edited.
#end_property

#begin_property
is_scrollable 
Stores a boolean value. If it is true the text-field is scrollable.
#end_property

#begin_property
is_selectable 
Stores a boolean value. If it is true the text of the text-field may be selected.
#end_property

#begin_property
next_text 
Stores a reference to the object that will get the insertion point when you press the tab key. Usually this is a text-field or a matrix.
#end_property

#begin_property
previous_text 
Stores a reference to the object that will get the insertion point when you press the tab key and at the same time have the shift-key pressed. Usually this is a text-field or a matrix.
#end_property

#begin_property
text_alignment 
Stores the text alignment for the text in the text-field. 
The different alignments are:
#left_aligned
#right_aligned
#centered
#end_property

#begin_property
text_color 
Stores the color object for the text color of the text-field.
#end_property

#begin_property
value 
Stores the text of the text-field.
#end_property

Methods 

#begin_method
background_color 
Returns the background_color property of the text-field.
#end_method

#begin_method
boolean_value 
Returns true if the text of the text-field is "true" or "1". 
Otherwise the method returns false.
#end_method

#begin_method
float_value 
Returns the text of the text-field as a float.
#end_method

#begin_method
font 
Returns the font property of the text-field.
#end_method

#begin_method
integer_value 
Returns the text of the text-field as an integer.
#end_method

#begin_method
is_background_transparent 
Returns the is_background_transparent property of the text-field.
#end_method

#begin_method
is_bezeled 
Returns the is_bezeled property of the text-field.
#end_method

#begin_method
is_bordered 
Returns the is_bordered property of the text-field.
#end_method

#begin_method
is_editable 
Returns the is_editable property of the text-field.
#end_method

#begin_method
is_scrollable 
Returns the is_scrollable property of the text-field.
#end_method

#begin_method
is_selectable 
Returns the is_selectable property of the text-field.
#end_method

#begin_method
next_text 
Returns the next_text property of the text-field.
#end_method

#begin_method
number_value 
Returns the text of the text-field as a number.
#end_method

#begin_method
previous_text 
Returns the previous_text property of the text-field.
#end_method

#begin_method
select_text 
Selects the text in the text-field.
Returns self.
#end_method

#begin_method
set_background_color(color) 
Sets the background_color property to color.
Returns self.
#end_method

#begin_method
set_font(font) 
Sets the font property to font.
Returns self.
#end_method

#begin_method
set_is_background_transparent(boolean) 
Sets the is_background_transparent property to boolean.
Returns self.
#end_method

#begin_method
set_is_bezeled(boolean) 
Sets the is_bezeled property to boolean.
Returns self.
#end_method

#begin_method
set_is_bordered(boolean) 
Sets the is_bordered property to boolean.
Returns self.
#end_method

#begin_method
set_is_editable(boolean) 
Sets the is_editable property to boolean.
Returns self.
#end_method

#begin_method
set_is_scrollable(boolean) 
Sets the is_scrollable property to boolean.
Returns self.
#end_method

#begin_method
set_is_selectable(boolean) 
Sets the is_selectable property to boolean.
Returns self.
#end_method

#begin_method
set_next_text(object) 
Sets the next_text property to object.
Returns self.
#end_method

#begin_method
set_previous_text(object) 
Sets the previous_text property to object.
Returns self.
#end_method

#begin_method
set_text_alignment(symbol) 
Sets the text_alignment property to symbol.
The different alignments are:
#left_aligned
#right_aligned
#centered
Returns self.
#end_method

#begin_method
set_text_color(color) 
Sets the text_color property to color.
Returns self.
#end_method

#begin_method
set_value(string) 
Sets the value property to string.
Returns self.
#end_method

#begin_method
string_value 
Returns the value of the text-field.
#end_method

#begin_method
take_boolean_value_from(object) 
Sets the value of the text-field to the boolean value of object.
Returns self.
#end_method

#begin_method
take_float_value_from(object) 
Sets the value of the text-field to the float value of object.
Returns self.
#end_method

#begin_method
take_integer_value_from(object) 
Sets the value of the text-field to the integer value of object.
Returns self.
#end_method

#begin_method
take_number_value_from(object) 
Sets the value of the text-field to the number value of object.
Returns self.
#end_method

#begin_method
take_string_value_from(object) 
Sets the value of the text-field to the string value of object.
Returns self.
#end_method

#begin_method
text_alignment 
Returns the text_alignment property of the text-field.
#end_method

#begin_method
text_color 
Returns the text_color property of the text-field.
#end_method

#begin_method
text_did_change 
This method does not do anything. The message is sent to the text-field when its text is changed. Specialize the method to get the desired behavior. 
Returns self.
#end_method

#begin_method
value 
Returns the value property of the text-field.
#end_method

Class Methods 

#begin_class_method
new 
Returns a new text-field.
Ex:
{text_field}:new
#end_class_method